package com.qzyh.esb.egsa.bean.bo;

import java.util.ArrayList;
import java.util.List;

public class ParentTreeNode<T> {
    //节点id
    private String id;
    //父节点id
    private String parentId;
    //子节点列表
    private List<T> children=new ArrayList<>();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public List<T> getChildren() {
        return children;
    }

    public void setChildren(List<T> children) {
        this.children = children;
    }
}
